<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
			<script src="${contextPath}/resource/js/prototype-1.6.0.2.js"></script>
	</head>
	<body >
	   <s:form action="codeClassAction_save.do" method="post" namespace="/maintain">
			<table class="menu_table">
				<tr>
					<th>
						<a href="codeClassAction_list.do">下拉属性管理</a>&gt;&gt;新增下拉属性
					</th>
				</tr>
			</table>
		<div class="listtable">
<div class="secondDiv">
			<table class="form_table">
				<%@include file="/show_field_error.jsp"%>
				<tr>
					<th width="22%">分类代码 </th>
					<td width="78%">
						<s:textfield name="codeClass.classCd" id="codeClass.classCd" size="30"
							maxlength="30" onblur="" />
						<span class="txtblue" id="resultMenuName">*</span>
					</td>
				</tr>
				<tr>
					<th>分类名称</th>
					<td><s:textfield name="codeClass.className" id="codeClass.classCd" size="50" maxlength="100" /></td>
				</tr>
				<!-- 
				<tr>
					<th>是否可编辑</th>
					<td><s:select name="codeClass.userEditFlag" list="#{'1':'是','0':'否'}"></s:select></td>
				</tr>
				 -->
				<tr>
					<th>是否有效</th>
					<td><s:select name="codeClass.validFlag" list="#{'1':'是','0':'否'}"></s:select></td>
				</tr>
				<tr>
					<th>是否可编辑</th>
					<td><s:select name="codeClass.userEditFlag" list="#{'1':'是','0':'否'}"></s:select></td>
				</tr>
				<tr>
					<th>描述</th>
					<td><s:textarea name="codeClass.description" id="codeClass.description" rows="3" cols="60"/>
					</td>
				</tr>
			</table>

			<div style="margin-top: 20px; margin-left: 30px;">
			<s:token></s:token>
				<input type="submit" value="添加" />
				&nbsp;&nbsp;&nbsp;
				<input type="button"
					onclick="javascript:location='codeClassAction_list.do'"
					value="返回列表" />
				&nbsp;&nbsp;&nbsp;
				<input type="reset" value="重置" />
			</div>
		<br />
		</div>
		</div>
		</s:form>
	</body>
</html>
